package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 声明式的远程调用
 *
 * @author DengYongZhan
 * @date 2020/07/09
 */
@FeignClient("gulimall-coupon")
public interface CouponFeignService {

    /**
     * 远程调用的路径写全
     *
     * @return {@link R}
     */
    @RequestMapping("/coupon/coupon/member/list")
    public R memberCoupons();

}
